//
//  BVNavItem.m
//  BuyVegetable
//
//  Created by yushanchang on 16/10/20.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import "BVNavItem.h"

@implementation BVNavItem

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        [self.titleLabel setFont:[UIFont systemFontOfSize:15]];
        
    }
    return self;
}

- (void)setTitle:(NSString *)title forState:(UIControlState)state {
    [super setTitle:title forState:state];
//    [self sizeToFit];
//    self.titleLabel.textAlignment = NSTextAlignmentLeft
}

@end
